package com.mtz.repository;

import com.mtz.dateobject.QuestionHistory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author 煜赜
 * @date 2018/11/21 11:43
 */
public interface QuestionHistoryRepository extends JpaRepository<QuestionHistory, Integer> {

    /** 通过问题id查找记录集合 **/
    List<QuestionHistory>  findByQuestionId(Integer questionId);
}
